﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CADprogram.Base;
namespace CADprogram.Base
{
    public class DataManager
    {
        //数据输出
        public int outDatas(System.Data.DataTable table,string path)
        {
            
            return 0;
        }

    }
    internal class Layer
    {
        public Image image { get; set; }
        public string Name { get; set; }
        public PointF LocalPoint { get; set; }
        public float Hight { get; set; }
        public float Wight { get; set; }

        public DateType dateType { get; set; }
        Matrix matrixRotate = new Matrix();//坐标系转换图形
        public Layer()
        {
           matrixRotate.Rotate(-90, MatrixOrder.Append);//
        }
        

    }
    public enum DateType
    {
        point,
        polyline,
        polygon
    }
}
